package com.xydtech.workflow.mapper;

import com.xydtech.workflow.domain.WflStepskip;

import java.util.List;

/**
 * 流程节点跳过条件配置Mapper接口
 *
 * @author JHON
 * @date 2021-06-02
 */
public interface WflStepskipMapper {
    /**
     * 查询流程节点跳过条件配置
     *
     * @param conditionId 流程节点跳过条件配置ID
     * @return 流程节点跳过条件配置
     */
    public WflStepskip selectWflStepskipById(Long conditionId);

    /**
     * 查询流程节点跳过条件配置列表
     *
     * @param wflStepskip 流程节点跳过条件配置
     * @return 流程节点跳过条件配置集合
     */
    public List<WflStepskip> selectWflStepskipList(WflStepskip wflStepskip);

    /**
     * 新增流程节点跳过条件配置
     *
     * @param wflStepskip 流程节点跳过条件配置
     * @return 结果
     */
    public int insertWflStepskip(WflStepskip wflStepskip);

    /**
     * 复制流程节点跳过条件配置
     *
     * @param wflStepskip 流程节点跳过条件配置
     * @return 结果
     */
    public int copyWflStepskip(WflStepskip wflStepskip);

    /**
     * 修改流程节点跳过条件配置
     *
     * @param wflStepskip 流程节点跳过条件配置
     * @return 结果
     */
    public int updateWflStepskip(WflStepskip wflStepskip);

    /**
     * 删除流程节点跳过条件配置
     *
     * @param conditionId 流程节点跳过条件配置ID
     * @return 结果
     */
    public int deleteWflStepskipById(Long conditionId);

    /**
     * 批量删除流程节点跳过条件配置
     *
     * @param conditionIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWflStepskipByIds(String[] conditionIds);
}
